package com.jichangxiu.system.service;

import com.github.yulichang.base.MPJBaseService;
import com.jichangxiu.system.entity.dto.SysUserPostDto;
import com.jichangxiu.system.entity.dto.edit.EditSysUser;
import com.jichangxiu.system.entity.po.SysUserPost;

import java.util.List;

/**
 * SysUserPostService:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:59
 */
public interface SysUserPostService extends MPJBaseService<SysUserPost> {

    /**
     * 增加 / 修改 / 删除 用户岗位关联列表
     *
     * @param editSysUser        系统用户
     * @param sysUserPostDtoList 用户岗位关联对象列表
     * @return 是否成功
     */
    public Boolean addOrDelOrEdit(EditSysUser editSysUser, List<SysUserPostDto> sysUserPostDtoList);

}